/* 自定义自动完成下拉框样式 */
.custom-autocomplete-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.autocomplete-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
  background-color: #f5f5f5;
}

.autocomplete-item.selected {
  background-color: #e6f7ff;
}

/* 添加加载指示器样式 */
.ajax-loading {
  background-image: url('../img/loading.gif') !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  padding-right: 20px !important;
}